package xin.qixia.client.consumer;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import xin.qixia.robot.core.RobotMessageHandler;
import xin.qixia.robot.core.RobotMessageListener;
import xin.qixia.robot.core.domain.RobotMessage;

/**
 * 收到消息
 *
 * @author wangkaixin
 * @date 2025/5/23 16:34
 */
@Component
@RobotMessageListener
@Slf4j
public class RobotConsumer implements RobotMessageHandler {

    @Override
    public void handle(RobotMessage message) {
        log.info("收到消息:{}", message);
    }
}
